/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package org.appleframework.exceptions;

/**
 *
 * @author zhujg
 */
public class TemplateNotFoundException extends AppleException {

  private String path ;

  public TemplateNotFoundException(String path) {
        super("Template not found : " + path);
        this.path = path;
    }

  @Override
  public String getErrorTitle() {
    return String.format("Template not found");
  }

  @Override
  public String getErrorDescription() {
    return String.format("The template <strong>%s</strong> does not exist.", path);
  }
}
